<template>
<div>
	<p>{{msg}}</p>
	<p>count:{{count}}</p>
	<p>update:{{update}}</p>
	<button @click="increase">increase</button>
</div>
</template>
<script setup>
import {ref} from "vue"
const props=defineProps(['msg',"count"])
const update=ref(props.count)
const increase=()=>{
	update.value++
}
</script>